package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 轮播图
 * </p>
 *
 * @author LBX
 * @since 2024-08-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_banner")
@ApiModel(value = "JaBanner对象", description = "轮播图")
public class JaBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @ApiModelProperty("轮播图标题")
    @TableField("title")
    private String title;

    @ApiModelProperty("banner图片")
    @TableField("image")
    private String image;

    @ApiModelProperty("轮播图类型1banner 2广告")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("跳转类型  1 H5 2 团购")
    @TableField("trans_type")
    private Integer transType;

    @ApiModelProperty("跳转参数 外链/团购id")
    @TableField("trans_param")
    private String transParam;

    @ApiModelProperty("展示位置 1首页")
    @TableField("location")
    private Integer location;

    @ApiModelProperty("是否展示0隐藏1展示")
    @TableField("is_show")
    private Integer isShow;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("操作人")
    @TableField("create_user")
    private String createUser;


}
